<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Sports Center Member Management System</title>
<style>
.error {
	color: #ff0000;
	font-weight: bold;
}
</style>
</head>
<body>
	<br>회원리스트
	<br>

	<table border="1">
		<tr>
			<th>번호</th>
			<th>아이디</th>
			<th>비밀번호</th>
			<th>이름</th>
			<th>성별</th>
			<th>생년월일</th>
			<th>전화번호</th>
			<th>이메일</th>
			<th>대학</th>
			<th>학과</th>
			<th>졸업년도</th>
			<th>주소</th>
			<th>우대사항</th>
			<th>언어</th>
			<th>코스명</th>
			<th>자격증</th>
		</tr>
		<c:forEach items="${members }" var="member">
			<tr>
				<td>${member.seqId }</td>
				<td>${member.memberId }</td>
				<td>${member.memberPassword }</td>
				<td>${member.name }</td>
				<td>${member.gender }</td>
				<td>${member.dateOfBirth }</td>
				<td>${member.phoneNumber }</td>
				<td>${member.email }</td>
				<td>${member.university }</td>
				<td>${member.major }</td>
				<td>${member.graduatedYear }</td>
				<td>${member.address }</td>
				<td>${member.addPoint }</td>
				<td>${member.language }</td>
				<td>${member.course.courseName }</td>
				<td><c:forEach items="${member.certificationList }"
						var="certification">
					${certification.certificationName }<br>
					</c:forEach></td>
				<!--  <td><input type="submit" onclick="remove?memberName=${member.name }" value="삭제" /></td>-->
				<!-- <td><a href="remove?memberName=${member.name }">remove</a></td> -->
			</tr>
		</c:forEach>
	</table>
</body>
</html>